/* 
 * File:   World.hpp
 * Author: nstratos
 *
 * Created on September 19, 2012, 9:49 PM
 */

#ifndef SERVER_HPP
#define	SERVER_HPP

#include <vector>
#include "User.hpp"
#include "World.hpp"

class Server {
public:
    static std::vector<User*> users;
public:
    Server(std::string name);
    Server(const Server& orig);
    virtual ~Server();
    User* createUser(std::string username);
    User* createUser(std::string username, int age);
    std::vector<User*> getUsers() const;
    void printUsers();
    static int generateUserId();
    World* getWorld();
    void printWelcomeMessage();
    std::string getName();
private:
    World* world;
    std::string name;

};

#endif	/* WORLD_HPP */

